package com.wsj;

import java.util.Date;

/**
 * @description:
 * @author: wangSiJia
 * @date: Created in 2020/5/17 10:32
 * @version: v1.0
 * @modified By:wangSiJia
 */
public class Motorcycle {
    private String ownership;
    private String GPSPosition;
    private String price;
    private Date dateOfPurchase;
    private String id;

    public Motorcycle() {
    }
    public Motorcycle(String id) {
        this.id = id;
    }

    public String getOwnership() {
        return ownership;
    }
    public void setOwnership(String ownership) {
        this.ownership = ownership;
    }

    public String getGPSPosition() {
        return GPSPosition;
    }
    public void setGPSPosition(String GPSPosition) {
        this.GPSPosition = GPSPosition;
    }

    public String getPrice() {
        return price;
    }
    public void setPrice(String price) {
        this.price = price;
    }

    public Date getDateOfPurchase() {
        return dateOfPurchase;
    }
    public void setDateOfPurchase(Date dateOfPurchase) {
        this.dateOfPurchase = dateOfPurchase;
    }

    public String getId() {
        return id;
    }
    public void setId(String id) {
        this.id = id;
    }

    public void drivingMethod() {
        System.out.println("驾驶方法："+
                "由转向手把、燃油开关、点火开关、油门转把、前制动握把、离合器握把、后制动踏板、各种信号开关、仪表盘等组成、变速踏板、发动机起动臂组件、阻风门手柄。");
    }
}
